<template>
  <div>
		<Header a="1" b="哈哈"/>
		<!-- 导航区域 -->
		<div class="col-xs-2 col-xs-offset-2">
			<!-- 在Vue的路由中，我们使用router-link标签，实现路径的改变 -->
			<router-link class="list-group-item" replace active-class="active" to="/about">About</router-link>
			<router-link class="list-group-item" replace active-class="active" :to="{name:'zhuye'}">Home</router-link>
		</div>
		<!-- 展示区 -->
		<div class="col-xs-6 panel panel-body panel-primary">
			<!-- 挖个坑，让路由器匹配组件后，知道放在哪里 -->
			<router-view></router-view>
		</div>
	</div>
</template>

<script>
	import Header from './components/Header'

  export default {
    name:'App',
		components:{Header}
  } 
</script>
